/**
  * general
  */
body {
	font-family: Calibri, Verdana, Arial, Tahoma, sans-serif;
	background-color: #666;
	color: #333;
	}

/**
  * classes
  */
form .field-list {
	background-color: #eee;
	border: 1px solid #666;
	margin: auto;
	padding: 0.5em;
	width: 20em;
	}
form .field-list li {
	border-bottom: 1px solid #bbb;
	margin-bottom: 0.25em;
	padding-bottom: 0.25em;
	}
form .field-list .buttons {
	border-bottom: none;
	margin-bottom: 0;
	padding-bottom: 0;
	text-align: center;
	}
form .field-list .buttons a {
	color: #00f;
	}
form .field-list label {
	float: left;
	width: 7em;
	}
.section {
	background-color: #eee;
	border: 1px solid #666; 
	padding: 0.5em;
	}
.section + .section {
	margin-top: 1em;
	}
.section-item {
	background-color: #ddd;
	padding: 0.5em;
	margin: 0.5em;
	border: 1px solid #666;
	}

/**
  * main
  */
#main {
	background-color: #fff;
	border: 1px solid #333;
	margin: 1em auto;
	padding: 1em;
	width: 60em;
	}
#main h1 {
	font-family: Cambria, serif;
	font-size: 2em;
	margin-bottom: 0.5em;
	}
#main h2 {
	font-family: Segoe UI, Tahoma, Helvetica, sans-serif;
	font-size: 1.5em;
	text-transform: capitalize;
	}

/**
  * section: show-errors
  */
#show-errors {
	background-color: #fdd;
	border-width: 2px;
	border-color: #faa;
	color: #800;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	}
#show-errors h2 {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0.5em;
	padding-bottom: 0.25em;
	border-bottom: 1px solid #faa; 
	}
#error-list {
	list-style-type: disc;
	margin-left: 2em;
	}

/**
  * section: show-messages
  */
#show-messages {
	background-color: #dfd;
	border-width: 2px;
	border-color: #afa;
	color: #080;
	width: 80%;
	margin-left: auto;
	margin-right: auto;
	}
#show-messages h2 {
	font-size: 1em;
	font-weight: bold;
	margin-bottom: 0.5em;
	padding-bottom: 0.25em;
	border-bottom: 1px solid #afa; 
	}
#message-list {
	list-style-type: disc;
	margin-left: 2em;
	}

/**
  * section: viewing-image
  * section-items: image-preview, image-description
  */
#cropped-image .preview {
	text-align: center;
	}
#image-description a {
	color: #00f;
	}

/**
  * cropping-image
  * -> crop-workspace [target-image, image-preview (JS)], crop-form [crop-parameter-list], example-of-usage
  */
#target-image, #image-preview {
	float: left;
	border: 3px solid #000;
	}
#image-preview {
	margin-left: 0.5em;
	overflow: hidden;
	}
#example-of-usage {
	background-color: #fff;
	font-size: 1.2em;
	}

/**
  * section: choosing-image
  * section-item: image-upload-form
  */

/**
  * section: debug
  */
#debug {
	background-color: #000;
	clear: both;
	height: 15em;
	overflow: auto;
	padding: 1em;
	}
#debug pre {
	color: #ff6;
	font-family: Consolas, Courier New, monospace;
	font-size: 1.2em;
	padding: 0.5em;
	}

/**
  * reset
  */
#reset {
	margin-top: 1em;
	}
#reset a {
	background-color: #666;
	color: #fff;
	display: block;
	padding: 0.25em 0;
	text-align: center;
	}
#reset a:hover {
	background-color: #999;
	}